module.exports = (options) =>{
  return async (ctx,next)=>{
    //拦截请求
    await next()
    //修改响应
  }
}